package za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Visitor.Factory;


import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Visitor.Model.SumVisitor;
import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Visitor.Model.ThreeElement;
import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Visitor.Model.TotalSumVisitor;
import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Visitor.Model.TwoElement;


public class VisitorFactory 
{

    public static TwoElement createTwoElement(int i, int i0) 
    {
        TwoElement two = new TwoElement(i,i0);
        return two; 
    }

    public static ThreeElement createThreeElement(int i, int i0, int i1) 
    {
        ThreeElement three = new ThreeElement(i, i0 , i1);
        return three;
    }

    public static SumVisitor createSumVisitor() 
    {
        SumVisitor sumVisitor = new SumVisitor(); 
        return sumVisitor;
    }

    public static TotalSumVisitor createTotalSumVisitor() 
    {
        TotalSumVisitor totalSumVisitor = new TotalSumVisitor();
        return totalSumVisitor;
    }
}